//
//  PMSimpleMotor.h
//  PezMonkey
//
//  Created by Spence DiNicolantonio on 12/23/09.
//  Copyright 2009 Necrosoft. All rights reserved.
//

#import <Foundation/Foundation.h>

#import "PMCore.h"
#import "PMConstraint.h"


@interface PMSimpleMotor : PMConstraint {

}

// Property definitions of getters/setters for data members stored by backend 
// Chipmunk structure. These properties are not synthesized, because their 
// implementations are given explicitly.
@property (assign) PMFloat rate;


#pragma mark -
#pragma mark Init
- (id)initWithBodyA:(PMBody *)aBody bodyB:(PMBody *)otherBody rate:(PMFloat)rate;

#pragma mark Convenience
+ (PMSimpleMotor *)simpleMotorWithBodyA:(PMBody *)aBody bodyB:(PMBody *)otherBody rate:(PMFloat)rate;

@end
